package moveMysql;

import java.io.Serializable;
import java.sql.Timestamp;

public class Target implements Serializable {
    private Long id;
    private Boolean isPublic;
    private String name;
    private String url;
    private Long subsiteId;
    private Integer status;
    private Timestamp createTime;
    private Long ownerId;
    private String message;

    public Target() {
    }

    @Override
    public String toString() {
        return "Target{" +
                "id=" + id +
                ", isPublic=" + isPublic +
                ", name='" + name + '\'' +
                ", url='" + url + '\'' +
                ", subsiteId=" + subsiteId +
                ", status=" + status +
                ", createTime=" + createTime +
                ", ownerId=" + ownerId +
                ", message='" + message + '\'' +
                '}';
    }

    public Target(Long id, Boolean isPublic, String name, String url, Long subsiteId, Integer status, Timestamp createTime, Long ownerId, String message) {
        this.id = id;
        this.isPublic = isPublic;
        this.name = name;
        this.url = url;
        this.subsiteId = subsiteId;
        this.status = status;
        this.createTime = createTime;
        this.ownerId = ownerId;
        this.message = message;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Boolean getIsPublic() {
        return isPublic;
    }

    public void setIsPublic(Boolean isPublic) {
        this.isPublic = isPublic;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Long getSubsiteId() {
        return subsiteId;
    }

    public void setSubsiteId(Long subsiteId) {
        this.subsiteId = subsiteId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Long getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(Long ownerId) {
        this.ownerId = ownerId;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
